.siderbar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 999;
}

.siderbar-mask {
    flex: 1;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
}

.siderbar-categories {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    padding: 20px;
    background-color: #f5f5f5;
}

.siderbar-categories > span {
    display: block;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
}

.siderbar-categories ul {
    width: 100%;
}

.siderbar-cate-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #fff;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    border-radius: 999px;
    cursor: pointer;
    padding-left: 20px;
}

.siderbar-cate-item span {
    color: var(--dark-color);
    font-size: 14px;
    padding-left: 10px;
    padding-top: 5px;
}

.siderbar-close {
    position: absolute;
    right: 0;
    transform: translateX(100%);
    width: 39px;
    height: 33px;
    background-color: #fff;
    border-radius: 0 999px 999px 0;
}

.siderbar-close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
    width: 20px;
    height: 2px;
    background-color: #000;
}

.siderbar-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 2px;
    background-color: #000;
}

@media screen and (min-width: 768px) {
    .siderbar-cate-item:hover span {
        color: var(--main-color);
    }
}